package com.cityeye.search;

public class SearchExpr {
	private SearchCriteria criterion;
	private Object expectedValue;
	
	public SearchExpr(SearchCriteria criterion,Object expectedValue){
		this.criterion=criterion;
		this.expectedValue=expectedValue;
	}
	
	public SearchCriteria getSearchCriteria() {
		return criterion;
	}
	public void setSearchCriteria(SearchCriteria criterion) {
		this.criterion = criterion;
	}
	public Object getExpectedValue() {
		return expectedValue;
	}
	public void setExpectedValue(Object searchValue) {
		this.expectedValue = searchValue;
	}
	
	public String toString() {
		return "SearchExpr: SearchCriteria(" + criterion + "), expectedValue(" + expectedValue
				+ ").";
	}	
}
